#pragma once
#import "C:\Program Files\Common Files\System\ADO\\msado15.dll" no_namespace rename ("EOF","adoEOF") rename ("BOF","adoBOF")

class ADOConn
{
public:
	_ConnectionPtr m_pConnection;
	_RecordsetPtr m_pRecordset;
public:
	void OnInitADOConn();
	_RecordsetPtr& GetRecordSet(_bstr_t bstrSQL);
	bool ExecuteSQL(_bstr_t bstrSQL);
	void ExitConnect();
};


